<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String url = basePath+request.getParameter("url");
System.out.println(request.getParameter("rid"));
%>
<script type="text/javascript">
<!--
var url = '<%=url%>';
alert(url);
window.location  = url;
//-->
</script>
